package com.prize;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication(exclude = {
        DataSourceAutoConfiguration.class,
        DataSourceTransactionManagerAutoConfiguration.class,
        HibernateJpaAutoConfiguration.class})
@ServletComponentScan
@EnableDiscoveryClient
public class LoginBootstrap {

    private static final Logger logger = LoggerFactory.getLogger(LoginBootstrap.class);

    public static void main(String[] args) {
        SpringApplication.run(LoginBootstrap.class, args);
        logger.info("\"(ヾ(◍°∇°◍)ﾉﾞ  登录/认证服务启动成功！     ヾ(◍°∇°◍)ﾉﾞ\"");
    }


}
